package nc.ui.test.bookdoc.action;

import nc.ui.pubapp.uif2app.actions.batch.BatchAddLineAction;
import nc.vo.pubapp.AppContext;
import nc.vo.test.bookdoc.BookdocVO;
/**
  batch addLine or insLine action autogen
*/
public class BookdocAddLineAction extends BatchAddLineAction {

	private static final long serialVersionUID = 1L;

	@Override
	protected void setDefaultData(Object obj) {
		super.setDefaultData(obj);
		BookdocVO singleDocVO = (BookdocVO) obj;
		//singleDocVO.setPk_group(this.getModel().getContext().getPk_group());
		//singleDocVO.setPk_org(this.getModel().getContext().getPk_org());
		singleDocVO.setAttributeValue("pk_group", this.getModel().getContext().getPk_group());
		singleDocVO.setAttributeValue("pk_org", this.getModel().getContext().getPk_org());
		
//		singleDocVO.setAttributeValue("creator", this.getModel().getContext().getPk_loginUser());
//		singleDocVO.setAttributeValue("creationtime", AppContext.getInstance().getServerTime());
	}

}